﻿namespace drinking.Helpers
{
    /// <summary>
    /// 自定义异常
    /// </summary>
    public class Exception_ : Exception
    {
        public int Code { get; set; }

        public Exception_(int code) : base()
        {
            Code = code;
        }

        public Exception_(int code, string msg) : base(msg)
        {
            Code = code;
        }
    }
}
